package com.qinggeng.project.system.domain;

import lombok.Data;
import com.qinggeng.framework.web.domain.BaseEntity;
    import java.math.BigDecimal;

/**
 * 配送价格 distribution_config
 * @author WangKh
 * @date 2019-11-15
 */
@Data
public class DistributionConfig extends BaseEntity {
     // ID
     private Long id;
     // 最小值
     private String min;
     // 最大值
     private String max;
     // 价格
     private BigDecimal price;
     // 类型 10=距离运费20=重量运费30=时间加价
     private String type;
     // 描述
     private Long regionId;
     //是否每增
     private String priceType;

     public Long getId() {
          return id;
     }

     public void setId(Long id) {
          this.id = id;
     }

     public String getMin() {
          return min;
     }

     public void setMin(String min) {
          this.min = min;
     }

     public String getMax() {
          return max;
     }

     public void setMax(String max) {
          this.max = max;
     }

     public BigDecimal getPrice() {
          return price;
     }

     public void setPrice(BigDecimal price) {
          this.price = price;
     }

     public String getType() {
          return type;
     }

     public void setType(String type) {
          this.type = type;
     }

     public Long getRegionId() {
          return regionId;
     }

     public void setRegionId(Long regionId) {
          this.regionId = regionId;
     }

     public String getPriceType() {
          return priceType;
     }

     public void setPriceType(String priceType) {
          this.priceType = priceType;
     }
}
